﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;

using System.Text;
using System.Windows.Forms;
using Net;
namespace client
{
   
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void buttonLogin_Click(object sender, EventArgs e)
        {
            NetService s = new NetService();
            s.Connect("127.0.0.1", 8001);
           
            MessageBox.Show(s.Login("qiaoxiaorui", "123456"));
            
        }


    }
}
